home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Sapphire Collection
/
Software Vault (Sapphire Collection) (Digital Impact).ISO
/
cdr08
/
finst152.zip
/
FINSTALL.CP_
/
FINSTALL.CP
Wrap
Text File
|
1994-07-30
|
981b
|
52 lines
/*--------------------------------------------------------------------------
Copyright (c) 1994 by Ka Iok Tong, All Rights Reserved.
---------------------------------------------------------------------------*/
#define STRICT
#ifdef _MSC_VER /* microsoft */
#undef isborland
#else /* borland */
#define isborland
#endif
#ifndef __WINDOWS_H
#include "windows.h"
#endif
#ifndef __ICTRLLER_H
#include "ictrller.h"
#endif
extern installcontroller *createic(HINSTANCE inst, HINSTANCE pinst);
HINSTANCE inst;
#ifdef isborland
#pragma argsused
#endif
int PASCAL WinMain(HINSTANCE instx, HINSTANCE pinst, LPSTR cmd, int cmdshow)
{
int r;
installcontroller *ic;
inst = instx;
if ((ic = createic(inst, pinst)) == 0)
{
return 1;
}
r = ic->run() ? 0 : 1;
delete ic;
return r;
}